package com.example.demo.service;

import com.example.demo.pojo.User;

import java.util.List;
import java.util.Map;

public interface UserManagementService {

   Map<String, Object> getUsers(int current, int size, String nickname);
   int addUser(User user);
   int updateUser(User user);
//   int deleteUser(int id);
   int deleteUser(Long id);
   List<User> selectUser(String nickname);
}
